/**
 * FileName: Patient
 * Author:   P
 * Date:     2021/2/24 12:11
 * Description:
 */
package com.hospital.nurse.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;


@AllArgsConstructor
@Data
@NoArgsConstructor
public class Patient {

    @TableId
    private int pId;
    private String pName;
    private String pGender;
    private int pAge;
    private Date pDepTime;
    private int dId;
    private String pDoctor;
    private String pDiagnosis;
    private int sId;
    private String pIdcard;
    private String pSocialcard;
    private String pPhone;
    private String pNation;
    private String pAddress;
    private String pAccount;

    @TableField(exist = false)
    private List<Care> care;

    @TableField(exist = false)
    private Department department;

}
